package com.situ.crm.service;

import com.situ.crm.pojo.entity.Permission;
import com.situ.crm.pojo.vo.LayUISelectMVO;
import com.situ.crm.util.JSONResult;
import com.situ.crm.util.LayUITableResult;

import java.util.List;

public interface IPermissionService {

	LayUITableResult list(Integer page, Integer limit, Permission permission);

	void deleteById(Integer id);

	void deleteAll(String ids);

	void insert(Permission permission);

	Permission selectByPrimaryKey(Integer permissionId);

	List<LayUISelectMVO> selectAllPermisssions();

	List<Permission> selectByUserId(Integer id);
}
